#pragma once

#include "cocos2d.h"
#include <list>
#include <Box2D/Box2D.h>
#include "action.h"


USING_NS_CC;
using namespace std;

class ICharacter;


class CActionManager
{
public:
	void Insert(CActionBase* action);
	void Update();

	void setOwner(ICharacter* owner);

	ACTION::TYPE GetCurrActionType();

private:
	list<CActionBase*> _actionlist;

	ICharacter* _owner;
};